<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    let vilaDate = ()=>{
        return new Promise((resolve,reject)=>{
            if(条件1){
                resolve(false)
            }
            if(条件二){
                resolve(false)
            }
            if(vm.psd){
                api.isPassword().then((res)=>{
                    if(res){
                        resolve(false)
                    }
                })
            }
        })
    }


</script>
</html>